package com.itcat.mysql.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * []
 *
 * @author : [Cr Mr]
 * @version : [v1.0]
 * @date : [2022/3/30 15:22]
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UmsResource implements Serializable {


    private Long id;


    private Long categoryId;

    /***
     * 名称
     * @author Cr Mr
     * @date 2022/3/30 15:23
     */
    private String name;

    /***
     * 描述
     * @author Cr Mr
     * @date 2022/3/30 15:23
     */
    private String description;

    private String url;

    /***
     * Desc:  注册时间(创建时自动填充)
     * @date 2022/3/30 14:17
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private static final long serialVersionUID = 1L;
}
